﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>  
<div id="acttable"><!--廣告區頭-->
    <asp:LinkButton ID="lnkAct2Back" runat="server" onclick="lnkAct2Back_Click"><div id="backbtn"></div></asp:LinkButton>
    <div id="act-5all"><!--6個廣告區頭-->
      <asp:Repeater ID="rpAct2" runat="server" OnItemDataBound="rpAct2_ItemDataBound">
          <ItemTemplate>
      <table border="0" cellspacing="5" cellpadding="0">
        <tr>
          <td align="center"><a href='<%#String.Format("{0}#", DataBinder.Eval(Container,"DataItem.Post1.LinkUrl"))%>' class="acttxt">
            <asp:Literal ID="ltlTitle1" runat="server"></asp:Literal></a></td>
          <td align="center"><a href='<%#String.Format("{0}#", DataBinder.Eval(Container,"DataItem.Post1.LinkUrl"))%>' class="acttxt">
            <asp:Literal ID="ltlTitle2" runat="server"></asp:Literal></a></td>
          <td align="center"><a href='<%#String.Format("{0}#", DataBinder.Eval(Container,"DataItem.Post1.LinkUrl"))%>' class="acttxt">
            <asp:Literal ID="ltlTitle3" runat="server"></asp:Literal></a></td>
          <td align="center"><a href='<%#String.Format("{0}#", DataBinder.Eval(Container,"DataItem.Post1.LinkUrl"))%>' class="acttxt">
            <asp:Literal ID="ltlTitle4" runat="server"></asp:Literal></a></td>
          <td align="center"><a href='<%#String.Format("{0}#", DataBinder.Eval(Container,"DataItem.Post1.LinkUrl"))%>' class="acttxt">
            <asp:Literal ID="ltlTitle5" runat="server"></asp:Literal></a></td>
          <td align="center"><a href='<%#String.Format("{0}#", DataBinder.Eval(Container,"DataItem.Post1.LinkUrl"))%>' class="acttxt">
            <asp:Literal ID="ltlTitle6" runat="server"></asp:Literal></a></td>
        </tr>
        <tr>
          <%--<td><img src='<%#String.Format("upload/{0}", DataBinder.Eval(Container,"DataItem.Post1.PicFileName"))%>' width="125" height="78" class="act-pp" /></td>
          <td><img src='<%#String.Format("upload/{0}", DataBinder.Eval(Container,"DataItem.Post2.PicFileName"))%>' width="125" height="78" class="act-pp" /></td>
          <td><img src='<%#String.Format("upload/{0}", DataBinder.Eval(Container,"DataItem.Post3.PicFileName"))%>' width="125" height="78" class="act-pp" /></td>
          <td><img src='<%#String.Format("upload/{0}", DataBinder.Eval(Container,"DataItem.Post4.PicFileName"))%>' width="125" height="78" class="act-pp" /></td>
          <td><img src='<%#String.Format("upload/{0}", DataBinder.Eval(Container,"DataItem.Post5.PicFileName"))%>' width="125" height="78" class="act-pp" /></td>
          <td><img src='<%#String.Format("upload/{0}", DataBinder.Eval(Container,"DataItem.Post6.PicFileName"))%>' width="125" height="78" class="act-pp" /></td>--%>
          <td><asp:Literal ID="ltlImg1" runat="server"></asp:Literal></td>
          <td><asp:Literal ID="ltlImg2" runat="server"></asp:Literal></td>
          <td><asp:Literal ID="ltlImg3" runat="server"></asp:Literal></td>
          <td><asp:Literal ID="ltlImg4" runat="server"></asp:Literal></td>
          <td><asp:Literal ID="ltlImg5" runat="server"></asp:Literal></td>
          <td><asp:Literal ID="ltlImg6" runat="server"></asp:Literal></td>
        </tr>
      </table>
      </ItemTemplate>
      </asp:Repeater>
    </div><!--6個廣告區尾-->
    <asp:LinkButton ID="lnkAct2Next" runat="server" onclick="lnkAct2Next_Click"><div id="nextbtn"></div></asp:LinkButton>
  </div><!--廣告區尾-->
  </ContentTemplate>
  </asp:UpdatePanel>

  <div id="Curriculum-down"><iframe width="276" height="161" src="http://www.youtube.com/embed/v4vLau6ZPho" frameborder="0" allowfullscreen></iframe></div>
  <div id="Act-down">
    <div id="hoticon"></div>
    <a href="act-all.aspx"><div id="mroe01"></div></a>
      <asp:Repeater ID="rpAct" runat="server" OnItemDataBound="rpAct_ItemDataBound">
          <ItemTemplate>
            <div class="act-day"><asp:Literal ID="ltlDate" runat="server"></asp:Literal></div>
            <a href='<%#String.Format("act-in.aspx?id={0}", DataBinder.Eval(Container,"DataItem.PostId"))%>'><div class="act-txt"><asp:Literal ID="ltlTitle" runat="server"></asp:Literal></div></a>
          </ItemTemplate>
      </asp:Repeater>    
  </div>
  <div id="student-down">
  <a href="success.aspx"><div id="mroe02"></div></a>
      <asp:Repeater ID="rpSuccess" runat="server" OnItemDataBound="rpSuccess_ItemDataBound">
          <ItemTemplate>
            <a href='<%#String.Format("success-in.aspx?id={0}", DataBinder.Eval(Container,"DataItem.PostId"))%>'>
            <div class="share-txt"><asp:Literal ID="ltlTitle" runat="server"></asp:Literal></div></a>
          </ItemTemplate>
      </asp:Repeater>      
  </div>
</asp:Content>

